package com.peycard.persistence.entities;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the NODE_PROPERTIES_REPORT database table.
 * 
 */
@Entity
@Table(name="NODE_PROPERTIES_REPORT")
public class NodePropertiesReport implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ID_NODE_PROPERTIES")
	private BigDecimal idNodeProperties;

	@Column(name="LOG_SAVED_DAYS")
	private String logSavedDays;

	@Column(name="LOG_TRX")
	private BigDecimal logTrx;

	//bi-directional many-to-one association to NodeReport
    @ManyToOne
	@JoinColumn(name="ID_NODE_REPORT")
	private NodeReport nodeReport;

    public NodePropertiesReport() {
    }

	public BigDecimal getIdNodeProperties() {
		return this.idNodeProperties;
	}

	public void setIdNodeProperties(BigDecimal idNodeProperties) {
		this.idNodeProperties = idNodeProperties;
	}

	public String getLogSavedDays() {
		return this.logSavedDays;
	}

	public void setLogSavedDays(String logSavedDays) {
		this.logSavedDays = logSavedDays;
	}

	public BigDecimal getLogTrx() {
		return this.logTrx;
	}

	public void setLogTrx(BigDecimal logTrx) {
		this.logTrx = logTrx;
	}

	public NodeReport getNodeReport() {
		return this.nodeReport;
	}

	public void setNodeReport(NodeReport nodeReport) {
		this.nodeReport = nodeReport;
	}
	
}